﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class MySubscribe
    {
        private int id;
        private int sellerId;
        private string goodsId;
        private bool isNeedShow;
        private int showInNum;
        private string hadShowDtlIds;
        private DateTime addTime;
        private MGoodsInfo goodsInfo = new MGoodsInfo();
        private Seller sellerInfo = new Seller();

        /// <summary>
        /// 自增id
        /// </summary>
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        /// <summary>
        /// 卖家id
        /// </summary>
        public int SellerId
        {
            get { return sellerId; }
            set { sellerId = value; }
        }
        /// <summary>
        /// 商品id
        /// </summary>
        public string GoodsId
        {
            get { return goodsId; }
            set { goodsId = value; }
        }
        /// <summary>
        /// 是否需要弹窗消息
        /// </summary>
        public bool IsNeedShow
        {
            get { return isNeedShow; }
            set { isNeedShow = value; }
        }
        /// <summary>
        /// 数量小于多少时候弹窗
        /// </summary>
        public int ShowInNum
        {
            get { return showInNum; }
            set { showInNum = value; }
        }
        /// <summary>
        /// 已经显示过弹窗的明细id
        /// </summary>
        public string HadShowDtlIds
        {
            get { return hadShowDtlIds; }
            set { hadShowDtlIds = value; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime
        {
            get { return addTime; }
            set { addTime = value; }
        }
        /// <summary>
        /// 商品信息
        /// </summary>
        public MGoodsInfo GoodsInfo
        {
            get { return goodsInfo; }
            set { goodsInfo = value; }
        }
        /// <summary>
        /// 卖家信心
        /// </summary>
        public Seller SellerInfo
        {
            get { return sellerInfo; }
            set { sellerInfo = value; }
        }
    }
}
